<!DOCTYPE html>
<style>
ol {
    padding-right: 1.1em;
    overflow: hidden;
}
</style>
<ol dir="rtl">
    <li>Foo</li>
    <li>Foo</li>
    <li>Foo</li>
    <li>Foo</li>
    <li>Foo</li>
    <li>Foo</li>
</ol>
